package com.design.composite.service;


import com.design.composite.bean.ResponseResult;
import com.design.composite.entity.Material;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author liuyajun
 */
public interface IMaterialService {
    ResponseResult delete(Integer id);

    List<Material> findList(Integer classifyId);

    ResponseResult add(Material material);

    ResponseResult uploadFile(MultipartFile file);
}


